Matthias Clasen [Sun, 31 Dec 2017 17:51:54 +0000 (12:51 -0500)]
Drop a no-longer-working test
Embedding toplevels does not work anymore.
Matthias Clasen [Sun, 31 Dec 2017 14:31:19 +0000 (09:31 -0500)]
Revert "inspector: Stop using GtkWidget::event"
This reverts commit
1268440c358add567c437693bf616634cf280235.
Turns out we'll keep ::event, so this was misguided.
Matthias Clasen [Sun, 31 Dec 2017 14:31:11 +0000 (09:31 -0500)]
Revert "treeviewcolumn: Stop using GtkWidget::event"
This reverts commit
da74314779ec155e06d370fd2f3f73f3948b1311.
Turns out we'll keep ::event, so this was misguided.
Matthias Clasen [Sun, 31 Dec 2017 14:31:02 +0000 (09:31 -0500)]
Revert "text handler: Stop using GtkWidget::event"
This reverts commit
74f563b50136c72e021f68a3f0256ed5cad69d01.
Turns out we'll keep ::event, so this was misguided.
Matthias Clasen [Sun, 31 Dec 2017 17:47:40 +0000 (12:47 -0500)]
spinner cell: Avoid a crash
The icon helper is not used, so no point in crashing
while trying to destroy it.
Matthias Clasen [Sun, 31 Dec 2017 13:39:37 +0000 (08:39 -0500)]
docs: Don't mention non-longer-existing signals
The ::window-state-event signal no longer exists.
Timm Bäder [Tue, 2 Jan 2018 17:55:55 +0000 (18:55 +0100)]
GdkTexture: Add a missing (array) annotation
Timm Bäder [Tue, 2 Jan 2018 07:36:10 +0000 (08:36 +0100)]
stack-allocate GtkCssLookup instances
Timm Bäder [Sun, 31 Dec 2017 07:45:40 +0000 (08:45 +0100)]
gl renderer: Avoid some code duplication
Timm Bäder [Sat, 30 Dec 2017 17:34:34 +0000 (18:34 +0100)]
gl driver: Remove some type checks in a hot path
Timm Bäder [Sat, 30 Dec 2017 09:01:12 +0000 (10:01 +0100)]
gl renderer: Remove an unnecessary block
Timm Bäder [Sun, 31 Dec 2017 14:16:22 +0000 (15:16 +0100)]
css parser: Reuse one GString
Instead of creating a new one for every ident, name and string, just
create one GString and reuse it. This means the GString we keep around
will grow to the maximum size of any ident, name or string we parse,
which is still not terribly large.
Daniel Boles [Mon, 1 Jan 2018 21:21:52 +0000 (21:21 +0000)]
themes: missing specificity bump on expander arrow
Commit
4ee02725b407b277c36720f6f4279989730d24a2 made the :hover apply to
the title node, not the arrow node, but the selectors it added were not
caught by the recent commits fixing the specificity of title > arrow.
Daniel Boles [Mon, 1 Jan 2018 19:53:43 +0000 (19:53 +0000)]
themes: Regenerate CSS to reflect recent commits
a lot of them, in this case
Daniel Boles [Mon, 1 Jan 2018 18:49:09 +0000 (18:49 +0000)]
HighContrast: Avoid expander↔combobox interference
as per commit
4241c4bdbd652abb76a3c9fc3e1194bc606a4477
Matthias Clasen [Sun, 31 Dec 2017 04:24:22 +0000 (23:24 -0500)]
emoji: Accept unpaired releases for variations
This enables a single long-press-move-release gesture
for picking a variation. This is not perfect yet: We
don't get hover in this case.
Matthias Clasen [Sun, 31 Dec 2017 04:23:16 +0000 (23:23 -0500)]
list, flow box: Make unpaired releases opt-in
We don't want a pointer that is moved off a scrollbar
to trigger a row when it gets released. To avoid this,
require an explicit opt-in to handling unpaired-releases.
Matthias Clasen [Sun, 31 Dec 2017 03:46:28 +0000 (22:46 -0500)]
dnd: Drop docs that are no longer relevant
We no longer take an event as argument, so no
need to explain how to obtain a suitable event.
Matthias Clasen [Sun, 31 Dec 2017 03:38:14 +0000 (22:38 -0500)]
text handler: Stop using GtkWidget::event
This signal is going away.
Matthias Clasen [Sun, 31 Dec 2017 03:27:54 +0000 (22:27 -0500)]
treeviewcolumn: Stop using GtkWidget::event
This signal is going away.
Matthias Clasen [Sun, 31 Dec 2017 03:13:45 +0000 (22:13 -0500)]
inspector: Stop using GtkWidget::event
This signal is going away.
Matthias Clasen [Fri, 29 Dec 2017 18:13:36 +0000 (13:13 -0500)]
Drop deprecated text view layers
These have been marked as deprecated, so lets drop them.
Matthias Clasen [Fri, 29 Dec 2017 18:12:06 +0000 (13:12 -0500)]
Update new css docs for new nowrap handling
This changes the recent additions to the css property
docs to also use <phrase role="nowrap">
Arnaud Rebillout [Sat, 16 Dec 2017 16:12:50 +0000 (23:12 +0700)]
gtk: remove non-breaking space, probably there by mistake
Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=791710
Arnaud Rebillout [Sat, 16 Dec 2017 15:50:12 +0000 (22:50 +0700)]
css docs: fix some formatting inconsistencies along the way
Mostly spaces.
Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=791710
Arnaud Rebillout [Sat, 16 Dec 2017 15:32:08 +0000 (22:32 +0700)]
css docs: remove useless <para>
Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=791710
Arnaud Rebillout [Sat, 16 Dec 2017 15:29:30 +0000 (22:29 +0700)]
css docs: swap border-width and border-left shorthands, to keep going clockwise
Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=791710
Arnaud Rebillout [Sat, 16 Dec 2017 15:26:33 +0000 (22:26 +0700)]
css docs: Fix duplicate border‑right‑width
Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=791710
Arnaud Rebillout [Sat, 16 Dec 2017 14:37:21 +0000 (21:37 +0700)]
css docs: Fix refentry and refname
Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=791710
Arnaud Rebillout [Sat, 16 Dec 2017 15:02:00 +0000 (22:02 +0700)]
css docs: Ensure the first column does not break for every table
Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=791710
Arnaud Rebillout [Sat, 16 Dec 2017 14:47:34 +0000 (21:47 +0700)]
css docs: Get rid of non-breaking hyphens
Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=791710
Arnaud Rebillout [Sat, 16 Dec 2017 14:42:13 +0000 (21:42 +0700)]
css docs: Get rid of non-breaking spaces
Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=791710
Arnaud Rebillout [Sat, 16 Dec 2017 14:33:51 +0000 (21:33 +0700)]
css docs: Fix some angle brackets for percentage
Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=791710
Timm Bäder [Fri, 29 Dec 2017 07:52:14 +0000 (08:52 +0100)]
window: Avoid a set-but-not-used warning
Timm Bäder [Fri, 29 Dec 2017 07:51:57 +0000 (08:51 +0100)]
gl renderer: Fix release build
Timm Bäder [Fri, 29 Dec 2017 04:47:22 +0000 (05:47 +0100)]
build: Rename a variable
Those aren't source headers...
Timm Bäder [Fri, 29 Dec 2017 04:42:23 +0000 (05:42 +0100)]
gl driver: Remove more unused API
Timm Bäder [Fri, 29 Dec 2017 04:31:49 +0000 (05:31 +0100)]
gl renderer: Properly delete all shader programs
Timm Bäder [Thu, 28 Dec 2017 20:32:46 +0000 (21:32 +0100)]
gl driver: Remove gl-context property
No need for this to be a property.
Timm Bäder [Thu, 28 Dec 2017 20:29:50 +0000 (21:29 +0100)]
gl driver: Remove dead warning code
_get_fbo never returns NULL.
Timm Bäder [Thu, 28 Dec 2017 20:21:09 +0000 (21:21 +0100)]
gl driver: Only support one fbo per texture
Timm Bäder [Thu, 28 Dec 2017 20:12:03 +0000 (21:12 +0100)]
gl driver: Remove vao API
Unused.
Timm Bäder [Thu, 28 Dec 2017 17:57:53 +0000 (18:57 +0100)]
gl renderer: Remove unused parameter
Timm Bäder [Thu, 28 Dec 2017 17:48:24 +0000 (18:48 +0100)]
gl renderer: Remove some unused uniforms from shader
Timm Bäder [Thu, 28 Dec 2017 17:00:59 +0000 (18:00 +0100)]
gl renderer: Only draw what we have to
Timm Bäder [Thu, 28 Dec 2017 15:41:32 +0000 (16:41 +0100)]
gl renderer: draw all outset shadows
Instead of falling back to cairo for most of them.
Timm Bäder [Thu, 28 Dec 2017 15:41:08 +0000 (16:41 +0100)]
testoutsetshadowdrawing: Add more samples
Timm Bäder [Thu, 28 Dec 2017 15:36:29 +0000 (16:36 +0100)]
testsuite: Move gl renderer nodes files into their own directory
Otherwise, they get picked up by the other node tests.
Timm Bäder [Thu, 28 Dec 2017 10:15:34 +0000 (11:15 +0100)]
tests: Fix the unblurred gl renderer output images
Some of these were wrong or empty.
Timm Bäder [Thu, 28 Dec 2017 10:03:33 +0000 (11:03 +0100)]
gl renderer: Properly flip texture in render_texture path
Just do this on the CPU instead.
Timm Bäder [Thu, 28 Dec 2017 09:56:05 +0000 (10:56 +0100)]
showrendernode: Add some advanced options
1) Add a --compare cmd line switch that lets people compare the normal
render path and the render_texture path.
2) Add a -o cmd line switch that lets people render the given .node
file to a texture and save that texture to the given png file name.
Timm Bäder [Thu, 28 Dec 2017 09:52:57 +0000 (10:52 +0100)]
snapshot: Don't create clip nodes with 0 width or height
Timm Bäder [Wed, 27 Dec 2017 22:15:07 +0000 (23:15 +0100)]
gl renderer: Insert render target op in render_texture path
Timm Bäder [Mon, 25 Dec 2017 22:17:08 +0000 (23:17 +0100)]
testoutsetshadowdrawing: Add adwaita CSD window test case
Timm Bäder [Mon, 25 Dec 2017 11:56:21 +0000 (12:56 +0100)]
testsuite: Add selected gl renderer test node files
Timm Bäder [Sun, 24 Dec 2017 15:27:54 +0000 (16:27 +0100)]
testheaderbar: Fix custom CSS
Matthias Clasen [Thu, 28 Dec 2017 13:39:29 +0000 (08:39 -0500)]
Adwaita: Avoid expander<>combobox interference
Putting a combobox in an expander was causing the combo arrow
to go sideways. Increase the specificity with which we address
the expander arrow to avoid that.
Matthias Clasen [Wed, 27 Dec 2017 22:21:30 +0000 (17:21 -0500)]
fontchooser: Add global keynav
Starting to type should focus the search entry and start
a search.
Matthias Clasen [Wed, 27 Dec 2017 12:08:17 +0000 (07:08 -0500)]
Try again to make the a11y tests pass
Matthias Clasen [Wed, 27 Dec 2017 04:32:49 +0000 (23:32 -0500)]
Add an unrealize function to GtkLabel
We need to drpo the primary clipboard when the label
is getting unrealized while holding it. This fixes
a crash in the accessibility-dump test.
Matthias Clasen [Wed, 27 Dec 2017 04:16:18 +0000 (23:16 -0500)]
Fix the a11y tests
Matthias Clasen [Wed, 27 Dec 2017 04:15:30 +0000 (23:15 -0500)]
Fix the textbuffer test
The test was assuming that gtk_text_buffer_paste_clipboard is
synchronous, which is no longer the case.
Matthias Clasen [Wed, 27 Dec 2017 04:12:37 +0000 (23:12 -0500)]
Simplify ui files
Run gtk3-builder-tool simplify over all our ui files.
Matthias Clasen [Tue, 26 Dec 2017 19:40:59 +0000 (14:40 -0500)]
Update NEWS
Matthias Clasen [Wed, 27 Dec 2017 01:10:34 +0000 (20:10 -0500)]
Fix objects-finalize test
This test needs similar fixes to the notify test to
pass a display to GDK objects when instantiating them.
Matthias Clasen [Wed, 27 Dec 2017 01:05:07 +0000 (20:05 -0500)]
Fix notify test
We need to pass a display when creating more GDK objects now.
Matthias Clasen [Wed, 27 Dec 2017 01:04:07 +0000 (20:04 -0500)]
Avoid excess notification for GdkEventControllerScroll::flags
We have a test that checks this, and it is the right thing to do.
Matthias Clasen [Wed, 27 Dec 2017 01:03:19 +0000 (20:03 -0500)]
Avoid excess notification for GdkCellRendererPixbuf::icon-size
We have a test that checks this, and it is right thing to do.
Matthias Clasen [Wed, 27 Dec 2017 00:18:45 +0000 (19:18 -0500)]
Remove a duplicate doc comment
g-ir-scanner complains about this.
Matthias Clasen [Tue, 26 Dec 2017 19:10:54 +0000 (14:10 -0500)]
gdk: Cosmetic rewording of draw context docs
Avoid draw context <> drawing context confusion,
as far as possible.
Matthias Clasen [Tue, 26 Dec 2017 19:06:52 +0000 (14:06 -0500)]
gdk: Slight doc rearrangement
Mainly, add GdkDrawContext to the docs.
Matthias Clasen [Tue, 26 Dec 2017 19:06:17 +0000 (14:06 -0500)]
window: Remove GtkButton reference from docs
GtkButton doesn't have its own window anymore, so it is
a misleading example here.
Matthias Clasen [Tue, 26 Dec 2017 19:05:00 +0000 (14:05 -0500)]
display: Cosmetic doc changes
Matthias Clasen [Tue, 26 Dec 2017 19:04:33 +0000 (14:04 -0500)]
cursor docs: Point to gtk_widget_set_cursor
This is the right API to use for applications.
Matthias Clasen [Tue, 26 Dec 2017 19:04:12 +0000 (14:04 -0500)]
Add documentation for content (de)serializers
Matthias Clasen [Tue, 26 Dec 2017 19:03:30 +0000 (14:03 -0500)]
Document GdkClipboard::changed
Matthias Clasen [Tue, 26 Dec 2017 19:39:24 +0000 (14:39 -0500)]
Document more structs
Matthias Clasen [Tue, 26 Dec 2017 17:53:20 +0000 (12:53 -0500)]
Document GDK_DISPLAY_XDISPLAY
Matthias Clasen [Tue, 26 Dec 2017 17:46:46 +0000 (12:46 -0500)]
gdk: Document GdkVulkanContext
New API needs documentation.
Matthias Clasen [Tue, 26 Dec 2017 16:47:15 +0000 (11:47 -0500)]
gdk: Move GdkWindowState enum around
We no longer have an event for this, so move the
enum to gdkwindow.h, where it belongs.
Matthias Clasen [Tue, 26 Dec 2017 16:34:18 +0000 (11:34 -0500)]
More documentation additions
Matthias Clasen [Tue, 26 Dec 2017 16:30:37 +0000 (11:30 -0500)]
Drop gratitious use of GdkPoint
This is the only use of this undocumented struct,
and it does not make this code any better. Just drop it.
Matthias Clasen [Tue, 26 Dec 2017 16:19:24 +0000 (11:19 -0500)]
Some GdkMonitor documentation additions
Document the ::invalidated signal.
Matthias Clasen [Tue, 26 Dec 2017 16:01:38 +0000 (11:01 -0500)]
Remove leftover API from headers
gdk_window_mark_paint_from_clip was removed in
bddfd7bb41cebd9b4e8ea418ce4d8e1f11822e81
Matthias Clasen [Tue, 26 Dec 2017 15:59:38 +0000 (10:59 -0500)]
Document new event getters
New API needs documentation.
Matthias Clasen [Tue, 26 Dec 2017 15:30:50 +0000 (10:30 -0500)]
Try to make the docs build more quiet
Not sure if this really makes a difference.
Matthias Clasen [Tue, 26 Dec 2017 15:22:21 +0000 (10:22 -0500)]
gdk: Remove the event structs from the documentation
No longer public api.
Matthias Clasen [Tue, 26 Dec 2017 15:21:45 +0000 (10:21 -0500)]
Document gdk_display_get_setting
New api needs documentation.
Matthias Clasen [Tue, 26 Dec 2017 15:05:09 +0000 (10:05 -0500)]
Remove leftover gdk_event_request_motions from headers
The implementation of this function was removed in
44cb3ccfa15d6f840b34f916d733ea393a1620a2.
Matthias Clasen [Tue, 26 Dec 2017 14:44:52 +0000 (09:44 -0500)]
Drop gsk_renderer_get/set_viewport from the docs
These no longer exist.
Matthias Clasen [Tue, 26 Dec 2017 14:30:44 +0000 (09:30 -0500)]
gdk: Document GdkDisplay::setting-changed
New api needs documentation.
Matthias Clasen [Tue, 26 Dec 2017 14:30:07 +0000 (09:30 -0500)]
Some migration guide revisions
Add a few things, reword some others.
Matthias Clasen [Tue, 26 Dec 2017 14:01:57 +0000 (09:01 -0500)]
docs: Add new headerbar api
Some functions have been renamed here.
Matthias Clasen [Tue, 26 Dec 2017 13:39:29 +0000 (08:39 -0500)]
Add GtkIconSize back to the docs
And document how it works now.
Matthias Clasen [Mon, 25 Dec 2017 21:40:47 +0000 (16:40 -0500)]
gdk: Reshuffle docs slightly
Deemphasize GdkPixbuf in the docs.
Ting-Wei Lan [Sun, 24 Dec 2017 16:14:05 +0000 (00:14 +0800)]
docs: Fix the build of gdk4 documentation
https://bugzilla.gnome.org/show_bug.cgi?id=791926
Matthias Clasen [Mon, 25 Dec 2017 16:27:16 +0000 (11:27 -0500)]
check button: Fix inconsistent state
This has been broken since the inconsistent state
was moved here in
2aea8dfee97b.
Ting-Wei Lan [Sun, 24 Dec 2017 16:24:04 +0000 (00:24 +0800)]
gdk/broadway/toarray.pl: Don't hard-code the path of perl
https://bugzilla.gnome.org/show_bug.cgi?id=791927
Matthias Clasen [Sat, 23 Dec 2017 03:59:00 +0000 (22:59 -0500)]
Fix the docs build
We no longer have GtkClipboard.
Matthias Clasen [Sat, 23 Dec 2017 03:56:35 +0000 (22:56 -0500)]
css: Document font-variant and subproperties
Add the CSS font level 3 properties that we support now
to the docs.